function sellerTableCheck() {
    $.ajax({
        type: "GET",
        contentType: "application/json;charset=UTF-8",
        url: "/table/tableJson",
        //数据，json字符串
        //请求成功
        success: function (result) {
            trHTML = "";
            $.each(result, function(lineNumber, rowdata) {
                if (rowdata.state==1){
                    $("#table"+rowdata.id).css("background-image","url(../images/11.jpg)");
                }else if(rowdata.state==-1){
                    $("#table"+rowdata.id).css("background-image","url(../images/10.jpg)");
                }
            });
            $('table').append(trHTML);
        },
        //请求失败，包含具体的错误信息
        error: function (e) {
            console.log(e.status);
            console.log(e.responseText);
        }
    });
}